html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: 400;
  vertical-align: baseline;
  box-sizing: border-box;
}

body {
  line-height: 1;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* custom */
a {
  color: #7e8c8d;
  text-decoration: none;
  -webkit-backface-visibility: hidden;
}

li {
  list-style: none;
}

html,
body {
  width: 100%;
  font-family: 'PingFang SC', 'STHeitiSc-light', 'Helvetica-light', Arial, sans-serif;
  background: #f6f6f6;
  height: 100%;
}

body {
  // max-width: 540px;
  min-width: 320px;
  margin: 0 auto;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 12px;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}

input,
button,
select,
textarea {
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;

  .content-wrap {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    overflow: hidden;
  }
}

#app {
  height: 100%;
}

.van-nav-bar {
  background-color: #2b2f41 !important;
  .van-nav-bar__left, .van-nav-bar__right {
    i {
      color: #fff !important;
      font-size: .36rem !important;
    }
    .van-nav-bar__text {
      color: #fff !important;
      font-size: .32rem !important;
    }
  }
  .van-nav-bar__title {
    color: #fff !important;
    font-size: .36rem !important;
    .van-tabs--card {
      margin-top: 8px;
      padding: 0;
    }
  }
  .van-nav-bar__text:active {
    background: #2b2f41;
  }
}

.scroll-wrapper {
  flex: 1;
  position: relative;
  .scroll-list {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
  }
}

.router-view {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  background: #f6f6f6;
  height: 100%;
  animation-duration: 0.3s !important;
}
